package com.zerone.pay.trade.service;

import com.alipay.api.AlipayApiException;
import com.zerone.pay.trade.service.order.TradeCreateOrder;
import com.zerone.pay.trade.service.order.TradePayNotifyOrder;

/**
 * @author 木鱼 muyu@yiji.com
 * @version 2017/4/19
 */
public interface TradeService {

    /**
     * 创建交易订单,返回支付宝或者微信交易号
     *
     * @param order
     * @return
     */
    String create(TradeCreateOrder order) throws Exception;


    void payNotify(TradePayNotifyOrder tradePayNotifyOrder);
}
